import { request } from '@/utils/request.js'

export function getCode(data) {
    return request({
		url: '/api/system/login/getValidateCode',
		method: 'post',
		data: data
	});
}

export function login(data) {
	return request({
		url: '/api/system/login/Verification',
		method: 'post',
		data: data
	});
}

export function logout() {
	return request({
		url: '/api/system/logout',
		method: 'post',
		data: {}
	});
}